package com.sunny.wordstudy;

import android.app.ProgressDialog;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.content.res.Resources;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import java.io.File;
import java.util.List;
import java.util.Map;

final class a
  implements AdapterView.OnItemClickListener
{
  public final void onItemClick(AdapterView paramAdapterView, View paramView, int paramInt, long paramLong)
  {
    this.a.c = ((String)((Map)this.a.g.get(paramInt)).get("file"));
    if (this.a.c.equals(""))
      this.a.a();
    while (true)
    {
      return;
      if (new File(this.a.c).isDirectory())
        this.a.a(this.a.c);
      SharedPreferences.Editor localEditor = this.a.d.edit();
      localEditor.putString("studyfile", this.a.c.substring(this.a.f.length()));
      localEditor.commit();
      this.a.b = ProgressDialog.show(this.a, this.a.getResources().getString(2131099825), this.a.getResources().getString(2131099835), true);
      new b(this).start();
    }
  }
}

/* Location:           E:\Desktop\Android\wordstd\classes_dex2jar.jar
 * Qualified Name:     com.sunny.wordstudy.a
 * JD-Core Version:    0.5.3
 */